import QtQuick 2.0

Item {
    id: element
    width:600
    height:200

    Image {
        id:imageBackground
        anchors.fill: parent
        fillMode: Image.PreserveAspectCrop
        source: "qrc:../image/sky.png"
    }

    MyBodyLeft{
        id:myBodyLeft
        height:parent.height
        width:200
        anchors{
            left: parent.left
            rightMargin: 5
        }
    }

    MyBodyCenter{
        id:myBodyCenter
        height:parent.height
        anchors{
            right: myBodyRght.left
            rightMargin: 0
            left: myBodyLeft.right
            leftMargin: 0
        }
    }

    MyBodyRight{
        id:myBodyRght
        height:parent.height
        width:200
        anchors{
            right: parent.right
            rightMargin: 5
        }
    }

    MyTree{
        id: item_tree
        Component.onCompleted: {
            setTestData();
        }
    }

}
